Hello, ScrivQ!

1 Instalation

To use ScrivQ24, you need the Quarto open-source scientific and technical publishing system.

Quickstart
  • On macOS1, use Homebrew to brew install quarto && brew install chromium.
  • On Windows, use Chocolatey to choco install quarto.

After that, install TinyTex with quarto install tool tinytex.

1 If you’re on a Mac, install Homebrew by pasting the following on the Terminal: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)".

New to Quarto?
Installation issues

Run a quarto check on your installation.

Some Python and R computations will require additional packages (cf. Warning 1).

Warning 1: Dependencies for computations

To run R computations, install R, R Studio, and (at least) the following packages:

py_install(packages = "matplotlib")
install.packages("reticulate")
install.packages("markdown")
install.packages("tidyverse")
install.packages("kableExtra")
install.packages("downlit")
install.packages("xml2")
Listing 1: Additional R packages.

2 ScrivQ

The ScrivQ template is designed to compile Quarto Books (PDF2, DOCX, and HTML) with zero configuration and no dependencies on external files. The bibliography, the template files, extensions, and filters are all included in the project and will be created by the compiler script.

2 Please note that tinytex is also required for LaTeX to PDF output.

When Quarto is installed…

Hit Cmd + Opt + E to publish your Quarto Book right away.

ScrivQ
Thank you

@iandol for the exceptional Scrivomatic from which ScrivQ descended.

Check his writing in Scrivener tutorial, if you haven’t done so yet.

3 Compiler Script

Figure 1: There is a ruby script to reformat the text and create the dependencies. It allows you to pass a file name and a format, so you can edit the post-processing panel to change the output format (e.g. change html to pdf / docx / epub etc.). It is embedded in this project’s Compiler format.

The script’s output is redirected &> to a Quarto.log file that will be automatically opened when an error happens and no output is produced. If everything runs smoothly, however, you should see only the output file open.

This compiler script descends from Scrivomatic, but with several changes to allow splitting the final document into sub-files. This task entails some challenges as footnotes and image references must be moved around before the file is split. Check the compiler script to see how this got solved and please report any errors.

Warning

Ruby must be installed on Windows machines.

4 Citations

Μῆνιν ἄειδε, θεά, Πηληιάδεω Ἀχιλῆος (Hom Il, I 1) The wrath sing, goddess, of Peleus’ son Achilles.

In ScrivQ, we use Citeproc to handle the bibliography and provide consistent output across different formats. Given Citeproc’s lack of features beloved by BibTeX users, we included Cite Tools to enable multipart bibliographies, provide backlinks (see backref from HyperRef), and access bibliographic data from sources (author, editor, translator, date, edition, number, and so on).

Official documentation

The official documentation on citations can be found at Pandoc and Quarto.

Cite Tools and ScrivQ

Deleting Cite Tools might cause the compilation to fail.

Using Cite Tools in other projects

quarto install extension bcdavasconcelos/citetools.

4.1 Basic citations

  1. The citation syntax is straightforward: @Citekey for Author (Date) (an in-text citation); [@Citekey] for Author, Date; and [-@Citekey] for Date.

  2. The citation key is optionally followed by a locator, which can be a page number, a line number, a chapter number, or a section number, preceded by a comma, e.g. [@Citekey, p.10].

  3. Multiple citations can be grouped in brackets separated by semicolons [@CitekeyA; @CitekeyB]. The CSL style used by Citeproc will determine the presence (or absence) of parenthesis around the rendered citation. (We favor a style that doesn’t use parenthesis, but that is up to you.)

Character Style Markdown Source Rendered output3
Cite* [-@Long2004] 2004
Cite* [-@Long2004, p.15] 2004, p. 15
Cite [@Long2004] LONG, 2004
Cite [@Long2004, p.15] LONG, 2004, p. 15

3 The rendered citation will appear only in the output document; but not in the Scrivener project.

Table 1: Citation syntax in Quarto and Pandoc.

Here is a short demonstration of the basic citation feature. We suggest grouping the citations using parenthesis and using character styles to apply the correct markup. If you were using other CSL styles, then you could drop the parenthesis.

(Date, locator)

Long thinks […] on the deliberations of the prudent person (2004, p. 17).

(Author, Date, locator)

…on the deliberations of the prudent person (LONG, 2004, p. 17).

(Author, Date, locator; Author, Date, locator)

…on the deliberations of the prudent person (LONG, 2004, p. 17; HOFFMAN & PRAKASH, 2014, p. 15).

4.2 Citation of specific fields

To inject the correct markup – [@Citekey]{.csl_field} – and allow us to cite different fields from our bibliographic entry, we rely on Character Styles (e.g. Cite Author, Cite Editor, Cite Issued, and so on).

Officially, CSL has Variables, BibTeX has Fields, and RIS has Tags, but we stuck to the term fields to describe all of them.
Character Style Markdown Source Rendered Output
Cite Author [@DA]{.author} Aristotelis
Cite Editor [@DA]{.editor} Bekker
Cite Translator [@DA]{.translator} Τατάκης
Cite Issued [@DA]{.issued} 1834
Cite Title [@DA]{.title} De Anima
Cite Title-short [@DA]{.title-short} De An.
Cite Original-title [@DA]{.original-title} περὶ ψυχῆς
Cite Publisher [@DA]{.publisher} Reimer
Cite Publisher-Place [@DA]{.publisher-place} Berlin
Table 2: All ready-made Character Styles for the Cite Field lua filter.
An example with field citation

Bekker published the first modern edition of Aristotle’s περὶ ψυχῆς (De Anima) in 1834. A new edition by Biehl appeared in 1896 (later reprinted in Theiler’s 1995 translation).

4.3 Multipart Bibliography

Where do I plug my bibliography?

There is no need to keep separate bibliography files in the system. Simply copy and paste the references directly to Scrivener following the instructions below.

References format

Pandoc and Quarto use a CSL (Citation Style Language) engine and prefer CSL-YAML and CSL-JSON (performing up to 10x faster) over BibTeX and RIS, which need to be converted before they can be understood.

What if I don’t have a bibliography ready?

4 Zotero even offers an API to download shared libraries by merely accessing a link, such as https://api.zotero.org/groups/LibraryID/items?format=bibtex&limit=999 where LibraryID corresponds to the library’s 7-digit code (visible in the middle of the library URL).

[BibTeX]: [CSL]: https://docs.citationstyles.org/en/stable/specification.html#appendix-iii-types [CSL-YAML]: https://docs.citationstyles.org/en/stable/specification.html [CSL-JSON]: https://docs.citationstyles.org/en/stable/specification.html [RIS]: https://en.wikipedia.org/wiki/RIS_(file_format)#Type_of_reference

4.3.1 How to manually create a multipart bibliography

  1. Using the Section Type File, we create a representation of our bibliography file to add the data (e.g. Primary Sources and Secondary Sources).
  2. On the Metadata panel we set the relative path (ID-Prefix + ID) and the extension (Extension) of the actual bibliography file that will be created upon Compile.
Figure 2: The Metadata panel
  1. We need to tell Quarto about the bibliography file by adding it to the _quarto configuration file (there is a bibliography section), then we can print the formatted bibliography using the ID (e.g. “primary-sources”) with the Paragraph Style Div Bibliography.
ARISTOTELIS. “De Anima.” In: BEKKER, I. (Ed.). Aristotelis Opera. Tran.: Β. Τατάκης. Berlin: Reimer, 1834. [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
HOMERUS. “Ilias.” In: ALLEN, T. W. (Ed.). Homeri Ilias, vols. 2–3. Oxford: Clarendon, 1931. p. 2·1-356; 3·1-370. [1]

4.3.2 How to automatically create a multipart bibliography

We can use the Section Type Bibliography to automate steps 3 and 4. This is very convenient for books that need the bibliography to print only once at the very end.

  1. Using the Section Type File, we create a representation of our bibliography file to add the data (e.g. Primary Sources and Secondary Sources).
  2. On the Metadata panel we set the relative path (ID-Prefix + ID) and the extension (Extension) of the actual bibliography file that will be created upon Compile.
  3. The metadata with the file path will be automatically added and the formatted bibliography will be printed in the same section as the data, with the same section title.

5 Quarto

“I propose a toast, to my self-control. You see it helpless, crawling on the floor.” Morphine, Cure For Pain (1993)

5.1 Scrivener Project Templates

All sorts of internal Scrivener Templates have been included for convenience. They serve as starting points to create new sections. Click Project > New From Template and select the desired Section Types from the list, which includes Bibliography, Code, Computation, Diagram Dot, Diagram Mermaid, Div, Equation, File, Metadata, Section, Text, Text (Anchored)6.

6 Text section with ID for cross-referencing.

This provides a huge number of options as the metadata can be edited to allow the creation of different Quarto elements and their customization (e.g. using classes and attributes). Using the Section Type Div, for example, one could create 8 different Amsthm elements, 5 different Callouts, and several Column environments. Using the Computation, one can create executable code blocks with R, Python, and Ruby. The Section Type Section can be numbered, unnumbered, or part of the appendix (with the use of classes).

Look at the ready-made examples to see what else is possible.

5.2 Cross-referencing

When creating a Section, select the correct ID-Prefix (e.g. sec-) and fill the ID metadata field with a value (e.g. xref). Then, use Scrivener placeholders ( <\$Custom:ID-Prefix><\$Custom:ID>) with a link to the cited element, so that this gets replaced with sec-xref. This works regardless of the element being cross-referenced (e.g. section, table, figure, listing) because this strategy ensures the citation will use the <\$Custom:ID-Prefix> pulled from the targeted element (e.g. sec-, tbl-, fig-, lst-), making it compatible with all element types.

Alternative to placeholders

A less verbose option uses a replacement rule:

  • s\crivlink is replaced with <\$Custom:ID-Prefix><\$Custom:ID>.
  • s\crivpath and $\! are replaced with <\$Custom:ID-Prefix><\$Custom:ID><\$Custom:Extension>.
How to cross-reference an element
  1. Type your-keyword-of-choice or s\crivlink;
  2. Apply the Character Style Cite (hit Shift + Command + Y)
  3. Link to the document that contains the element (hit Command + L).
Known limitation

Understand that Scrivener Placeholders can only pull information from the section properties, so the generic link label (e.g. s\crivlink) will work to reference elements created from Section Types.

To reference elements created from Raw Markup or Character Style, use the actual ID given (e.g. fig-ulysses).

5.3 Amsthm

Species Markdown Source Rendered Output
Conjecture [@cnj-demo] Conjecture 1
Corollary [@cor-demo] Corollary 1
Definition [@def-demo] Definition 1
Example [@exm-demo] Example 1
Exercise [@exr-demo] Exercise 1
Lemma [@lem-demo] Lemma 1
Proposition [@prp-demo] Proposition 1
Theorem [@thm-demo] Theorem 1
Table 3: Cross-referencing Amsthm elements in ScrivQ.

Conjecture 1 Demonstration of the Conjecture theorem environment using the Section Type Div with ID #cnj-demo.

Corollary 1 Demonstration of the Corollary theorem environment using the Section Type Div with ID #cor-demo.

Definition 1 Demonstration of the Definition theorem environment using the Section Type Div with ID #def-demo.

Example 1 Demonstration of the Example theorem environment using the Section Type Div with ID #exm-demo.

Exercise 1 Demonstration of the Exercise theorem environment using the Section Type Div with ID #exr-demo.

Lemma 1 Demonstration of the Lemma theorem environment using the Section Type Div with ID #lem-demo.

Proposition 1 Demonstration of the Proposition theorem environment using the Section Type Div with ID #prp-demo.

Theorem 1 Demonstration of the Theorem theorem environment using the Section Type Div with ID #thm-demo.

\[[ x^2 + y^2 = z^2 ]\]

5.4 Callouts

Species Markdown Source Rendered Output
Caution [@cau-caution] Caution 1
Important [@imp-important] Important 1
Note [@nte-note] Note 1
Tip [@tip-tip] Tip 1
Warning [@wrn-warning] Warning 2
Table 4: Cross-referencing callouts.

Using styles, you can create normal or collapsed callouts.

This is a Callout Caution using a Paragraph Style.

Caution

This is a Callout Caution using a Paragraph Style.

Caution 1

Demonstration of a Callout Caution using the Section Type Div with class .callout-caution and with ID #cau-caution.

Important 1

Demonstration of a Callout Important using the Section Type Div with class .callout-important and with ID #imp-important.

Note 1

Demonstration of a Callout Note using the Section Type Div with class .callout-note and with ID #nte-note.

Tip 1

Demonstration of a Callout Tip using the Section Type Div with class .callout-tip and with ID #tip-tip.

Warning 2

Demonstration of a Callout Warning using the Section Type Div with class .callout-warning and with ID #wrn-warning.

5.5 Diagrams

Similarly, we can create Dot and Mermaid diagrams using Section Types (Diagram Dot, Diagram Mermaid), Paragraph Styles (Diagram Dot, Diagram Mermaid), and Raw Mardown.

Species Markdown Source Rendered Output
Dot [@fig-dot-a] Figure 4
Dot [@fig-dot-b] Figure 5
Dot [@fig-dot-c] Figure 6
Mermaid [@fig-mermaid-a] Figure 7
Mermaid [@fig-mermaid-b] Figure 8
Mermaid [@fig-mermaid-c] Figure 9
Table 5: Cross-referencing Dot and Mermaid diagrams.
finite_state_machine 0 0 2 2 0->2 SS(B) 1 1 0->1 SS(S) 3 3 4 4 8 8 6 6 8->6 S(b) 5 5 8->5 S(a) 2->4 S(A) 2->6 SS(b) 2->5 SS(a) 1->3 S($end) 6->6 S(b) 6->5 S(a) 5->5 S(a) 7 7 5->7 S(b) 7->8 S(b) 7->5 S(a)
Figure 4: Figure caption
regexp n0 regexp n1 bytes n0->n1 n2 io n0->n2 n3 regexp/syntax n0->n3 n4 sort n0->n4 n5 strconv n0->n5 n6 strings n0->n6 n7 sync n0->n7 n8 unicode n0->n8 n9 unicode/utf8 n0->n9 n1->n2 n1->n8 n1->n9 n10 internal/bytealg n1->n10 n11 errors n1->n11 n2->n7 n2->n11 n3->n4 n3->n5 n3->n6 n3->n8 n3->n9 n12 internal/reflectlite n4->n12 n5->n9 n5->n10 n5->n11 n13 math n5->n13 n14 math/bits n5->n14 n6->n2 n6->n7 n6->n8 n6->n9 n6->n10 n6->n11 n15 unsafe n6->n15 n7->n15 n16 internal/race n7->n16 n17 runtime n7->n17 n18 sync/atomic n7->n18 n10->n15 n19 internal/cpu n10->n19 n11->n12 n12->n15 n12->n17 n13->n14 n13->n15 n13->n19 n14->n15 n16->n15 n18->n15
Figure 5: A graphviz graph with figure reference and caption, using raw markup. See https://quarto.org/docs/authoring/diagrams.html#sizing for more details…
Color_wheel Color wheel, 33 colors. Neato layout darkred darkred center--darkred 0°/360° brown brown brown--center 30° olive olive olive--center 60° darkolivegreen darkolivegreen darkolivegreen--center 90° darkgreen darkgreen darkgreen--center 120° dark hue 0.416 dark hue 0.416 dark hue 0.416--center 150° darkcyan darkcyan darkcyan--center 180° dark hue 0.583 dark hue 0.583 dark hue 0.583--center 210° darkblue darkblue darkblue--center 240° dark hue 0.750 dark hue 0.750 dark hue 0.750--center 270° darkmagenta darkmagenta darkmagenta--center 300° dark hue 0.916 dark hue 0.916 dark hue 0.916--center 330° hue 0.083 hue 0.083 hue 0.083--brown hue 0.125 hue 0.125 hue 0.083--hue 0.125 hue 0.166 hue 0.166 hue 0.125--hue 0.166 hue 0.166--olive hue 0.208 hue 0.208 hue 0.166--hue 0.208 hue 0.250 hue 0.250 hue 0.208--hue 0.250 hue 0.250--darkolivegreen hue 0.291 hue 0.291 hue 0.250--hue 0.291 hue 0.333 hue 0.333 hue 0.291--hue 0.333 hue 0.333--darkgreen hue 0.375 hue 0.375 hue 0.333--hue 0.375 hue 0.416 hue 0.416 hue 0.375--hue 0.416 hue 0.416--dark hue 0.416 hue 0.458 hue 0.458 hue 0.416--hue 0.458 hue 0.500 hue 0.500 hue 0.458--hue 0.500 hue 0.500--darkcyan hue 0.541 hue 0.541 hue 0.500--hue 0.541 hue 0.583 hue 0.583 hue 0.541--hue 0.583 hue 0.000 hue 0.000 hue 0.000--darkred hue 0.041 hue 0.041 hue 0.000--hue 0.041 hue 0.041--hue 0.083 hue 0.583--dark hue 0.583 hue 0.625 hue 0.625 hue 0.583--hue 0.625 hue 0.666 hue 0.666 hue 0.625--hue 0.666 hue 0.666--darkblue hue 0.708 hue 0.708 hue 0.666--hue 0.708 hue 0.750 hue 0.750 hue 0.708--hue 0.750 hue 0.750--dark hue 0.750 hue 0.791 hue 0.791 hue 0.750--hue 0.791 hue 0.833 hue 0.833 hue 0.791--hue 0.833 hue 0.833--darkmagenta hue 0.875 hue 0.875 hue 0.833--hue 0.875 hue 0.916 hue 0.916 hue 0.875--hue 0.916 hue 0.916--dark hue 0.916 hue 0.958 hue 0.958 hue 0.916--hue 0.958 hue 0.958--hue 0.000 red red red--hue 0.000 orangered orangered orangered--red orange orange orange--hue 0.083 orange--orangered gold gold gold--hue 0.125 gold--orange yellow yellow yellow--hue 0.166 yellow--gold yellowgreen yellowgreen yellowgreen--hue 0.250 yellowgreen--yellow deeppink deeppink deeppink--hue 0.875 deeppink--hue 0.916 deeppink--red fuchsia fuchsia magenta fuchsia--hue 0.833 fuchsia--deeppink purple purple purple--hue 0.750 purple--hue 0.791 purple--fuchsia blue blue blue--hue 0.666 blue--purple cornflowerblue cornflowerblue cornflowerblue--hue 0.583 cornflowerblue--blue deepskyblue deepskyblue cornflowerblue--deepskyblue deepskyblue--hue 0.541 aqua aqua cyan deepskyblue--aqua aqua--hue 0.500 springgreen springgreen aqua--springgreen springgreen--hue 0.416 green green springgreen--green green--hue 0.333 green--yellowgreen pink pink pink--red lightyellow lightyellow lightyellow--yellow mediumpurple mediumpurple mediumpurple--purple violet violet violet--fuchsia hotpink hotpink hotpink--deeppink light hue 0.250 light hue 0.250 light hue 0.250--yellowgreen lightcyan lightcyan lightcyan--aqua lightslateblue lightslateblue lightslateblue--blue lightgreen lightgreen lightgreen--green lightskyblue lightskyblue lightskyblue--deepskyblue peachpuff peachpuff peachpuff--orange light hue 0.416 light hue 0.416 light hue 0.416--springgreen hue 0 tint hue 0 tint hue 0 tint--pink hue 0.041 tint hue 0.041 tint hue 0 tint--hue 0.041 tint hue 0.083 tint hue 0.083 tint hue 0.041 tint--hue 0.083 tint hue 0.083 tint--peachpuff hue 0.125 tint hue 0.125 tint hue 0.083 tint--hue 0.125 tint hue 0.166 tint hue 0.166 tint hue 0.125 tint--hue 0.166 tint hue 0.166 tint--lightyellow hue 0.208 tint hue 0.208 tint hue 0.166 tint--hue 0.208 tint hue 0.250 tint hue 0.250 tint hue 0.208 tint--hue 0.250 tint hue 0.250 tint--light hue 0.250 hue 0.291 tint hue 0.291 tint hue 0.250 tint--hue 0.291 tint hue 0.333 tint hue 0.333 tint hue 0.291 tint--hue 0.333 tint hue 0.333 tint--lightgreen hue 0.375 tint hue 0.375 tint hue 0.333 tint--hue 0.375 tint hue 0.416 tint hue 0.416 tint hue 0.375 tint--hue 0.416 tint hue 0.416 tint--light hue 0.416 hue 0.458 tint hue 0.458 tint hue 0.416 tint--hue 0.458 tint hue 0.5 tint hue 0.5 tint hue 0.458 tint--hue 0.5 tint hue 0.5 tint--lightcyan hue 0.541 tint hue 0.541 tint hue 0.5 tint--hue 0.541 tint hue 0.541 tint--lightskyblue hue 0.583 tint hue 0.583 tint hue 0.541 tint--hue 0.583 tint hue 0.625 tint hue 0.625 tint hue 0.583 tint--hue 0.625 tint hue 0.666 tint hue 0.666 tint hue 0.625 tint--hue 0.666 tint hue 0.666 tint--lightslateblue hue 0.708 tint hue 0.708 tint hue 0.666 tint--hue 0.708 tint hue 0.750 tint hue 0.750 tint hue 0.708 tint--hue 0.750 tint hue 0.750 tint--mediumpurple hue 0.791 tint hue 0.791 tint hue 0.750 tint--hue 0.791 tint hue 0.833 tint hue 0.833 tint hue 0.791 tint--hue 0.833 tint hue 0.833 tint--violet hue 0.875 tint hue 0.875 tint hue 0.833 tint--hue 0.875 tint hue 0.916 tint hue 0.916 tint hue 0.875 tint--hue 0.916 tint hue 0.916 tint--hotpink hue 0.958 tint hue 0.958 tint hue 0.916 tint--hue 0.958 tint hue 0.958 tint--hue 0 tint
Figure 6: Color wheel diagram
flowchart
    A --> B & C & D --> E & F --> G
Figure 7: Figure caption
flowchart LR
  A{Diagram} --> B[Section Type]
  A --> C[Paragraph Style]
  A --> D[Raw Markdown]
Figure 8: Figure caption
%%{init: {"pie": {"textPosition": 0.5}, "themeVariables": {"pieOuterStrokeWidth": "5px"}} }%%
pie showData
    title Key elements in Product X
    "Calcium" : 42.96
    "Potassium" : 50.05
    "Magnesium" : 10.01
    "Iron" :  5

Figure 9: A Mermaid figure using a Scrivener Section Type [Computation] with class [mermaid], see https://quarto.org/docs/authoring/diagrams.html for more details

5.6 Equations

Species Markdown Source Rendered Output
Equation [@eq-demo-a] Equation 1
Equation [@eq-demo-b] Equation 2
Table 6: Cross-referencing equations.

\[t' = \frac{t - \dfrac{v}{c^{2}}x}{\sqrt{1 - \dfrac{v^{2}}{c^{2}}}} \tag{1}\]

\[t' = \frac{t - \dfrac{v}{c^{2}}x}{\sqrt{1 - \dfrac{v^{2}}{c^{2}}}} \tag{2}\]

5.7 Figures

Species Markdown Source Rendered Output
[@fig-ulysses] Figure 10
Multipart Figure [@fig-panel-a] Figure 11
Multipart Figure [@fig-panel-a-item-a] Figure 11 (a)
Multipart Figure [@fig-panel-a-item-b] Figure 11 (b)
Table 7: Cross-referencing figures.
Figure 10: Ulysses and the Sirens.

Painting by DRAPER, 1909.

(a) Place the label first in the caption, and use the Caption style.
(b) Angry elephant with a big trunk.
Figure 11: This multi-figure panel uses the Section Type Div instead of raw markdown as shown here. ID, Class, and Attributes specific to the block are saved to Custom Metadata → ID, Class & Attributes, and then inserted into the markup for this chunk by the Section Layout at compile time.

5.8 Listings

Species Markdown Source Rendered Output
Listing [@lst-demo-a] Listing 2
Listing [@lst-demo-b] Listing 3
Table 8: Cross-referencing listings.
require "unicode/name"

characters = %w(α β ἇ ᾇ ᾁ)

# characters = 'ἄ'
characters.each do |character|
  puts character.unpack('U*').map { |i| 
  "U+#{i.to_s(16).rjust(4, '0').upcase}"
  }.join
  puts Unicode::Name.of character
end
Listing 2: Decomposition of Unicode characters.
#!/usr/bin/env ruby
# frozen_string_literal: false

Encoding.default_external = Encoding::UTF_8

Dir["#{__dir__}/Ruby/**/*.rb"].each do |file|
  require_relative file
end
Listing 3: The caption

5.9 Tables

Species Markdown Source Rendered Output
[@tbl-demo-a] Table 10
[@tbl-demo-b] Table 11
Multipart Table [@tbl-panel-a] Table 12
Multipart Table [@tbl-panel-a-item-a] Table 12 (a)
Multipart Table [@tbl-panel-a-item-b] Table 12 (b)
Table 9: Cross-referencing tables.
GRC SKT
ἐν ἀρχὴ ἦν ὁ λόγος आदौ वाद आसीत्
Table 10: This table with a passage from John 1.1 uses the Section Type Text and Paragraph Style Table Caption.
GRC SKT
ἐν ἀρχὴ ἦν ὁ λόγος आदौ वाद आसीत्
Table 11: “This is an example of Section Type Table. The caption and the remaining attributes are added as part of the Section Type markup.”
Element Prefix Markdown Source Rendered Output
Equation A eq A B
Equation A eq C D
Listing A lst E F
(a) The first table of the multipart table panel.
Element Prefix Markdown Source Rendered Output
Equation B eq A B
Equation B eq C D
Listing B lst E F
(b) The second table of the multipart table panel.
Table 12: This is a markdown multi-table panel with two sub-tables generated using a Section Type Div. The Custom Metadata holds the cross-referencing label, classes, and other attributes.

5.10 Sections

Genus Markdown Source Rendered Output
Section [@sec-demo-a] Section 5.10.1
Break + Section [@sec-demo-e] Section 5.10.2
Heading [@sec-demo-c] Section 5.10.3
Break + Heading [@sec-demo-d] Section 5.10.4
Table 13: Note that the unnumbered section cannot be referenced.

Section (Unnumbered)

Demonstration of the Section Type Section using Class .unnumbered.

5.10.1 Section

Demonstration of the Section Type Section with ID #sec-demo-a.

5.10.2 Break + Section

Demonstration of the Section Type Break + Section with ID #sec-demo-e.

5.10.3 Heading


5.10.4 Break + Heading

6 Templates and partials

Quarto Templates optionally edited in Scrivener

Users needing control over the parameters in the native Quarto templates shouldn’t have to deal with external files. We imported all the templates and partials for the main file types (TeX, HTML, Typst) so they can be edited directly in Scrivener.

7 Resources

8 Final word

If you like what you see, consider sponsoring this project on Github.

  • Compilation fails for LaTeX → PDF when citations are placed in Table/Figure captions. The cause seems to be the Citation Backlinks filter.
  • For Typst → PDF output some Quarto features (e.g. margin notes, column classes) are not yet implemented. Hopefully this will change in future Quarto versions.

Bibliography

Primary Sources

ARISTOTELIS. “De Anima.” In: BEKKER, I. (Ed.). Aristotelis Opera. Tran.: Β. Τατάκης. Berlin: Reimer, 1834. [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
HOMERUS. “Ilias.” In: ALLEN, T. W. (Ed.). Homeri Ilias, vols. 2–3. Oxford: Clarendon, 1931. p. 2·1-356; 3·1-370. [1]

Secondary Sources

ARISTOTELIS. De Anima. Ed.: W. Biehl. Leipzig: Teubner, 1896. [1, 2]
ARISTOTELIS. De Anima. Ed.: W. Biehl. Trans.: Willy Theiler & Horst Seidl. Harmburg: Felix Meiner, 1995. [1, 2]
LONG, C. Ethics of Ontology. Albany: SUNY, 2004. [1, 2, 3, 4, 5, 6, 7]

Workflow

HOFFMAN, D. D.; PRAKASH, C. Objects of consciousness. Frontiers in Psychology, v. 5, p. 577, 2014. [1]

Songs

MORPHINE et al. Cure For Pain. : Cure For Pain.Rykodisc, 1993. Disponível em: <https://open.spotify.com/track/3hO9gaVixKDoYDrlTBrEWf?si=0668baf1aab345d4> [1, 2, 3]

Paintings

DRAPER, H. J. Ulysses and the Sirens., 1909. [1]

Reuse

Citation

BibTeX citation:
@online{untitled,
  author = {},
  title = {Hello, {ScrivQ!}},
  langid = {en}
}
For attribution, please cite this work as:
Hello, ScrivQ!